﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
    <title>无标题页</title>
</head>
<form>
<body>
<table>
<tr>
    <td align="right"><label for="username">用户名：</label></td><td><input type="text" id="username" style="width:150px" /></td>
</tr>
<tr>
    <td align="right"><label for="psw">密码：</label></td><td><input type="password" id="psw" style="width:150px" /></td>
</tr>
<tr>
    <td align="right"><label for="psw2">确认密码：</label></td><td><input type="password" id="psw2" style="width:150px" /></td>
</tr>
<tr>
    <td align="right">
    省份：
    </td>
    <td>
    <select>
    <option checked="checked">江苏</option>
    <option>浙江</option>
    <option>山东</option>
    <option>海南</option>
    <option>台湾</option>
    </select>
    </td>
</tr>
<tr>
    <td align="right">性别：</td><td><input type="radio" name="gender" />男<input type="radio" name="gender" />女<input type="radio" name="gender" />保密</td>
</tr>
<tr>
<td align="right">职业：</td><td><input type="radio" name="job" />学生<input type="radio" name="job" />公司职员<input type="radio" name="job" />其他</td>
</tr>
<tr>
<td align="right">爱好：</td><td><input type="checkbox" name="hobby" />登山<input type="checkbox" name="hobby" />篮球<input type="checkbox" name="hobby" />足球<input type="checkbox" name="hobby" />游泳<input type="checkbox" name="hobby" />其他</td>
</tr>
<tr>
    <td align="right">爱好：</td>
    <td>
    <select>
    <optgroup label="体育">
        <option>
        登山
        </option>
        <option>
        篮球
        </option>
    </optgroup>
    <optgroup label="学习">
        <option>
        英语
        </option>
        <option>
        数学
        </option>
    </optgroup>
    </select>
    </td>
</tr>

<tr>
<td colspan="2">
    <fieldset>
        <legend>
        爱好
        </legend>
        <input type="checkbox" name="hobby" />登山
        <input type="checkbox" name="hobby" />步行
        <input type="checkbox" name="hobby" />游泳
        <input type="checkbox" name="hobby" />滑雪
        <input type="checkbox" name="hobby" />篮球
    </fieldset>
</td>
</tr>
</table>
</form>
</body>
</html>
